<div ng-controller="InterfacePathNewCtrl">
	<!-- header -->
	<div ng-init="init()" class="wrapper bg-light lter b-b">
		<a ui-sref="app.interface.list({provider:providerid})" class="btn btn-sm btn-default w-xxs m-r-sm" tooltip="返回"><i class="fa fa-long-arrow-left"></i></a>
		<div class="btn-group pos-stc m-r-sm">
			<button ng-click="save()" class="btn btn-sm btn-default w-xxs w-auto-xs" tooltip="保存">
				<i class="fa fa-save"></i>
			</button>
			<button ng-click="init()" class="btn btn-sm btn-default w-xxs w-auto-xs" tooltip="重置">
				<i class="fa icon-refresh"></i>
			</button>
		</div>
	</div>
	<!-- / header -->
	<div class="wrapper">
		<form name="newInterface" class="form-horizontal m-t-lg">

			<div class="form-group">
				<label class="col-lg-4 control-label">名称:</label>
				<div class="col-lg-6">
					<input type="text" required class="form-control" ng-model="path.name">
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">域名:</label>
				<div class="col-lg-6">
					<input type="text" required class="form-control" ng-model="path.host">
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">路径:</label>
				<div class="col-lg-6">
					<input type="text" required class="form-control" ng-model="path.url">
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-4 control-label">唯一标识:</label>
				<div class="col-lg-6">
					<input type="text" required class="form-control" ng-model="path.code">
				</div>
			</div>

			<div class="form-group">
				<label class="col-lg-4 control-label">验证:</label>
				<div class="col-lg-6">
					<label class="i-switch i-switch-lg bg-dark m-t-xs m-r">
						<input ng-model="path.isValidate" type="checkbox"> <i></i>
					</label>
				</div>
			</div>


		</form>
	</div>